// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: MIT

import { MaterialPalette } from "../../../src/material.slint";

export global MainWindowAdapter {
    in property <length> width;
    in property <length> height;
    in property <bool> show_background;
    out property <bool> break_layout: root.width < 852px;
    out property <brush> background: root.show_background ? MaterialPalette.surface_container :  MaterialPalette.background;
}
